package com.bestcem.xm.ticket.service;

import com.bestcem.xm.ticket.entity.mongo.Ticket;
import com.bestcem.xm.ticket.entity.mongo.TicketRecord;
import com.bestcem.xm.ticket.enums.TicketRecordEventEnum;

/**
 * 记录工单的各个进度
 *
 * @author jy.zhao
 * @version 1.0
 * @date 2021/8/23 17:08
 **/
public interface TicketRecordService {

    /**
     * 二次投放开始时触发答题状态规则
     *
     * @param ticket       工单
     * @param recordStatus 工单记录的当前状态
     * @author jy.zhao
     * @date 2021/8/24 13:53
     **/
    TicketRecord createTicketRecord(Ticket ticket, TicketRecordEventEnum recordStatus);
}
